import {
  zeRequest
} from '../services/index'

export function getMusicBanner(type = 0) {
  return zeRequest.get({
    url: "/banner",
    data: {
      type
    }
  })
}

export function getPlaylistDetail(id) {
  return zeRequest.get({
    url: "/playlist/detail",
    data: {
      id
    }
  })
}

export function getSongMenuList(cat = '全部', limit = 6, offset = 0) {
  return zeRequest.get({
    url: "/top/playlist",
    data: {
      cat,
      limit,
      offset
    }
  })
}


export function getSongMenuTag() {
  return zeRequest.get({
    url: "/playlist/hot",
  })
}